package org.stvd.entities.admin;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.stvd.entities.base.BaseEntity;

/**
 * 用户机构-实体类
 * @author houzx
 */
@Entity
@Table(name = "user_dep")
public class UserDep extends BaseEntity {

    private static final long serialVersionUID = 6831637176064668592L;

    /**
     * 主键ID
     */
    @Id
    @Column(name="id",nullable=false)
    private String id = "";
    
    /**
     * 用户ID
     */
    @Column(name="user_id",nullable=false)
    private String userId = "";
    
    /**
     * 机构ID
     */
    @Column(name="dep_id",nullable=false)
    private String depId = "";
    
    /**
     * 平台GUID
     */
    @Column(name="guid",nullable=false)
    private String guid = "";

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDepId() {
		return depId;
	}

	public void setDepId(String depId) {
		this.depId = depId;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

}
